import axios from "axios"

export default ({method,url,params={},headers,data,_this}) =>{
    return axios({
        method,
        url,
        params,
        headers,
        data
    })
    .then(res => {
        return res.data
    })
    .catch(err => {
        return err
    })
}

